home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / HAMRADIO / FLEXPAC4.ZIP / SAMPLE.PRO < prev   
Text File  |  1993-12-12  |  7KB  |  160 lines

  1. *
  2. * This file is used by the FLEXCUST program to customize
  3. *    colors
  4. *    com port default
  5. *    window sizes
  6. *    user identification
  7. *    audio tones
  8. *    default wait time for @WAIT command
  9. *    com port flow control
  10. * for the FLEXPAC program.  To change these things in FLEXPAC, you
  11. * must do two things:
  12. *
  13. *   1) change this file to reflect your desired values, as explained below
  14. *   2) issue the DOS command FLEXCUST
  15. *
  16. * The program file FLEXPAC.EXE is then altered.  Note that only this
  17. * particular DOS file is altered - if you have more than one FLEXPAC.EXE
  18. * program file on your disks, you will have to customize each one separately
  19. * (or customize one and copy to the other disks).
  20. *
  21. * Of course, if you copy a customized FLEXPAC.EXE to another disk or
  22. * subdirectory, the customized colors travel with it, since the file itself
  23. * has been modified and customized.
  24. *
  25. * This process assumes that all files are in the current subdirectory, and
  26. * have the standard supplied file names.  If you have changed the names, or
  27. * if files are in different subdirectories, you must supply some parameters
  28. * to FLEXCUST - the full format of the command is:
  29. *   FLEXCUST <target> <source>
  30. * where:
  31. *   TARGET is the DOS file name of the FLEXPAC.EXE file - if not in
  32. *      the current subdirectory, you may enter a fully qualified DOS
  33. *      file name, such as C:\PACKET\FLEXPAC.EXE
  34. *   SOURCE is the name of this file - if not in the current subdirectory,
  35. *      you may enter a fully qualified DOS file name, such as
  36. *      C:\PACKET\FLEXCUST.PRO
  37. * Note: SOURCE and TARGET can be optional - the default TARGET is
  38. *   FLEXPAC.EXE in the current subdirectory, and the default SOURCE is
  39. *   FLEXCUST.PRO in the current subdirectory.  However, you CANNOT
  40. *   default the TARGET name if you only want to specify SOURCE (in other
  41. *   words, if you only enter one parameter, it is assumed to be the TARGET
  42. *   parameter).
  43. *
  44. * **************** Modify The Color Information That Follows *************
  45. *
  46. * To modify this file to make your selections, you must obey two rules:
  47. *    a) do not change the NUMBER or ORDER of the following statements -
  48. *       YOU CAN ONLY CHANGE THE COLOR SPECIFIED ON EACH LINE.  If there
  49. *       is a color you wish to leave alone, do exactly that - LEAVE IT
  50. *       ALONE!
  51. *    b) You may use only the following colors, and they must be entered
  52. *       AS SHOWN, as one word each:
  53. *           BLACK      BLUE       GREEN      CYAN          RED
  54. *           MAGENTA    BROWN      LIGHTGRAY  DARKGRAY      LIGHTBLUE
  55. *           LIGHTGREEN LIGHTCYAN  LIGHTRED   LIGHTMAGENTA
  56. *           YELLOW     WHITE
  57. * The color specification lines follow:
  58. BLUE          - A screen background
  59. BROWN         - B screen background
  60. GREEN         - DX window background
  61. LIGHTCYAN     - receive normal text
  62. LIGHTRED      - FLEXPAC error text
  63. YELLOW        - receive emphasized text (transmit echo, etc.)
  64. BLACK         - status line background
  65. WHITE         - status line foreground
  66. RED           - key line background
  67. YELLOW        - key line foreground
  68. *
  69. * ************* Modify The COM Port Number and Baud That Follow ************
  70. *
  71. Pxxx          - set comport number - 1 or 2 are the only valid options here
  72. Sxxx          - set the baud rate
  73. *
  74. * ************* Modify The Window Size Information That Follows *************
  75. *
  76. * There are four different ways in which FLEXPAC can split up the screen,
  77. * based on whether the B stream and/or DX windows are open and visible.
  78. * Some things do not change - the bottom line is always the function key
  79. * definition line, the next to bottom line always the key input line, and
  80. * the second from bottom always the Status Line.  The four configurations
  81. * are:
  82. *
  83. *    ┌───────────┐   ┌───────────┐   ┌───────────┐   ┌───────────┐
  84. *    │           │   │ A Stream  │   │ A Stream  │   │ A Stream  │
  85. *    │           │   │           │   │           │   ├────(3)────┤
  86. *    │ A Stream  │   ├───(1)─────┤   │           │   │ B Stream  │
  87. *    │           │   │ B Stream  │   ├───(2)─────┤   ├────(4)────┤
  88. *    │           │   │           │   │ DX Window │   │ DX Window │
  89. *    ├─Status────┤   ├─Status────┤   ├─Status────┤   ├─Status────┤
  90. *    ├─Input─────┤   ├─Input─────┤   ├─Input─────┤   ├─Input─────┤
  91. *    └─Keys──(5)─┘   └─Keys──(5)─┘   └─Keys──(5)─┘   └─Keys──(5)─┘
  92. *
  93. * You will notice that the important separator lines have numbers in
  94. * parenthesis inside them.  These are the line numbers that you can change
  95. * to suit now ...
  96. 12            - (1) A stream to B stream, no DX window
  97. 17            - (2) A stream to DX window, no B stream
  98. 9             - (3) A stream to B stream, with DX window
  99. 17            - (4) B stream to DX window
  100. 25            - (5) maximum number of screen lines
  101. *
  102. * Specification (5) is the maximum number of lines on the screen;  note
  103. * that this CAN be greater than 25 if your display supports that many
  104. * lines.
  105. *
  106. * The values are checked by FLEXCUST to ensure that each window is at
  107. * least 3 lines, and that the numbers are in the proper ascending order
  108. * when necessary (i.e. (4) should be greater than (3)).
  109. *
  110. * ************* Modify The User Code Information That Follows *************
  111. *
  112. * When you purchase FlexPac, you will be given a user number. If you have
  113. * not purchased the program or become a registered user, please send $75
  114. * plus $3 S&H to:
  115. *
  116. *      Rich Thorne WB5M
  117. *      133 Light Falls Drive
  118. *      Wake Forest, NC 27587
  119. *      U.S.A
  120. *
  121. * If you send in your registration fee, you will receive a diskette
  122. * containing the latest level of the program and full documentation.  In
  123. * addition, you will be notified about fixes and enhancements.  Be sure to
  124. * include your CALLSIGN and diskette size preference (360K/5.25 or *
  125. * 720K/3.25).
  126. *
  127. * Place your registration number in the next field.
  128. *
  129. 0000          - Registration Number
  130. *
  131. * ************* Modify The Alarm Tone Information That Follows ************
  132. *
  133. * You can customize the alarm tone that FLEXPAC sounds when you connect to
  134. * a station (@CONNECTALARM) or when someone attempts to TALK to you
  135. * (@TALKMONITOR).  The alarm sound has two tones - you can specify the
  136. * frequency of the tones, and their duration.  The frequency is in hertz,
  137. * with Middle C as 440, and the duration is in TENTHs of seconds.
  138. 200           - first tone frequency
  139. 5             - first tone duration
  140. 600           - second tone freqeuncy
  141. 5             - second tone duration
  142. *
  143. * ************* Modify The WAIT Interval Information That Follows ************
  144. *
  145. * The next field contains the default number of seconds that an @WAIT
  146. * command will wait for.  You can change this dynamically by using the
  147. * @WAITTIME command.
  148. 60
  149. *
  150. * ************* Modify The COM Port FLow Control Method That Follows *********
  151. *
  152. * The next field contains the default com port flow control method - the
  153. * choice can be either NONE, HARDWARE control (RTS/CTS lines in cable), or
  154. * SOFTWARE control (X-ON, X-OFF protocol).  Put in the number that
  155. * corresponds to the flow control method you wish:
  156. *     0 for no flow control
  157. *     1 for HARDWARE control
  158. *     2 for SOFTWARE control
  159. 2
  160.